Running the Test Case
From Documentation
This documentation is for an older version of ZK. For the latest one, please click here.
Running Selenium server
Go to the SELENIUM_HOME/selenium-server-1.0/ directory and launch
java -jar selenium-server.jar
Running ZK application
Simply run your ZK application using Eclipse, or any other Servlet Container.
Running test application
To run the test, right-click on ZKTest.java and select Run As > JUnit Test
The result
After test, you shall see the result in your eclipse as follows,
The test code alerts a message to tell us that the text of window's title is "abc" not "123".